import 'frp_http_proxy_platform_interface.dart';
import 'proxy.dart';

class FrpHttpProxy {
  Future<String?> getPlatformVersion() {
    return FrpHttpProxyPlatform.instance.getPlatformVersion();
  }

  Future<String?> run(Proxy p) {
    return FrpHttpProxyPlatform.instance.run(p);
  }

  Future<String?> downApp(String pid) {
    return FrpHttpProxyPlatform.instance.downApp(pid);
  }

  Future<Map<String, dynamic>?> getServiceStatus() {
    return FrpHttpProxyPlatform.instance.getServiceStatus();
  }
}
